/**************************************************************************** 
* 
* Copyright (c) 2023  C*Core -   All Rights Reserved  
* 
* THIS SOFTWARE IS DISTRIBUTED "AS IS," AND ALL WARRANTIES ARE DISCLAIMED, 
* INCLUDING MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
* 
* PROJECT     : CCFC2011BC           
* DESCRIPTION : swt demo code 
* HISTORY     : Initial version.
* @file     swt_demo.h
* @version  1.1
* @date     2023 - 02 - 20
* @brief    Initial version.
*
*****************************************************************************/

#ifndef SWT_DEMO_H_
#define SWT_DEMO_H_
#include "swt_lld.h"


#define SWT_CASE1       0U
#define SWT_CASE2       0U
#define SWT_CASE3       1U
#define SWT_CASE4       0U
#define SWT_CASE5       0U

typedef enum {
    feed_dog = 0,
    no_feed_dog,
    feed_error_key
} swt_feeddog_case;

extern uint32_t SWT_Test_Case1(uint32_t t_time);
extern uint32_t SWT_Test_Case2(uint32_t t_time);
extern uint32_t SWT_Test_Case3(uint32_t t_time, uint32_t t_window_time, uint8_t state);
extern uint32_t SWT_Test_Case4(void);
extern uint32_t SWT_Test_Case5(void);
extern void SWT_TEST_Demo(void);
#endif /* SWT_DEMO_H_ */
